package org.ch00.test04.demo07.demo3;

/**
 * @author CSY
 * @date 2025 - 03 - 04
 */
public class User {
    public void openDoor(Door door) {
        System.out.println("拿钥匙...");
        door.open();
    }

    public void closeDoor(Door door){
        door.close();
    }
}
